package cmpe451.group7.ourcity.dao;

import java.util.Date;
import java.util.List;

import cmpe451.group7.ourcity.entity.Comment;
import cmpe451.group7.ourcity.entity.Place;
import cmpe451.group7.ourcity.entity.Tag;
import cmpe451.group7.ourcity.entity.User;

public interface CommentDAO extends GenericDAO<Comment> {

	Comment createComment(Place place, User user, String commentText,
			List<Tag> tags, Date date);

	List<Comment> findByRestrictions(Long placeID, String Comment,
			Date fromDate, Date toDate, List<Tag> tags);

	List<Comment> findPlaceComments(Place place);

	List<Comment> findPlaceComments(Long placeID);

	List<Comment> findUserComments(Long userID);
}
